package com.tangyuan.user.service;

import com.tangyuan.common.result.Result;
import com.tangyuan.dto.UserSetPhoneNumberDto;
import org.springframework.web.multipart.MultipartFile;

public interface UserInfoService {
    Result handleFileUpload(MultipartFile file, String token,String url);

    Result fileUpload(MultipartFile file);

    Result setNickName(String nickName, String token);

    Result setPhoneNumber(UserSetPhoneNumberDto userSetPhoneNumberDto);

    Result setPhoneNumberGetCode(String mobile);

    Result setNewPhoneNumberGetCode(String mobile);

    Result setNewPhoneNumber(UserSetPhoneNumberDto userSetPhoneNumberDto,String token);

    Result getSettingInfo(Long userId);

    Result showBlackList(String token);

    Result checkVersion();

    Result resetPassword(String preMobile, String newMobile, String token);

    Result deleteUser(String token);

    Result checkForceUpdate(String currentVersion, String deviceInfo);
}
